<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.List" %>
<%@ page import="oneroom.user.address.addressModel" %>
<jsp:useBean id="addrdao" scope="page" 	class="oneroom.user.address.addressDao" />
<%
List sealist = addrdao.getSeaul();
List kealist = addrdao.getKeayki();
List romlist = addrdao.getRoom();

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<div>
서울지역 직거래
<table >
<%
	for(int i = 0; i<sealist.size(); i++){
		areaModel model = (areaModel)sealist.get(i);
%>
<tr>
	<td>
			<%=model.getTitle()%>
	</td>
</tr>
<%
	}
%>
</table>
</div>

<div>
수도권지역 직거래
<table >
<%
	for(int i = 0; i<kealist.size(); i++){
		areaModel model = (areaModel)kealist.get(i);
%>
<tr>
	<td>
			<%=model.getTitle()%>
	</td>
</tr>
<%
	}
%>
</table>
</div>

<div>
전국지역 직거래
<table >
<%
	for(int i = 0; i<romlist.size(); i++){
		areaModel model = (areaModel)romlist.get(i);
%>
<tr>
	<td>
			<%=model.getTitle() %>
	</td>
</tr>
<%} %>
</table>
</div>
</body>
</html>